 <?php ob_start();
require('includes/connect.php');
    	$experts_id = $_POST["expert_id"];
    	$experts_fname = $_POST["experts_fname"];
		$experts_lname = $_POST["experts_lname"];
		$experts_address = $_POST["experts_address"];
		$experts_phone = $_POST["experts_phone"];
		$experts_mob = $_POST["experts_mob"];
		$experts_username = $_POST["experts_username"];
		$expert_subcategory_id= $_POST['expert_subcategory_id'];
		$country = $_POST['country_id'];
		
		//echo $country;

$sql="Update experts set `experts_fname`='$experts_fname',`experts_lname`='$experts_lname',`experts_address`='$experts_address',`experts_phone`='$experts_phone',`experts_mob`='$experts_mob',`experts_username`='$experts_username',`expert_subcategory_id`='$expert_subcategory_id',`country_id`='$country' where experts_id=".$experts_id;
$result=mysql_query($sql);
		
		if($result)
						{
	
					header("location:expert.php");
		}
	else {
		
		echo mysql_error();
	}
	
ob_flush();	?>




